/* -- Icons ----------------------------------------------------------------- */
.adminicon {
  background: url(../images/admin-sprite.png) no-repeat;
  display: -moz-inline-box;
  display: inline-block;
  height: 16px;
  vertical-align: middle;
  width: 16px;
}

.adminicon.comment-delete { background-position: -180px 0; }
.adminicon.comment-list   { background-position: -196px 0; }
.adminicon.logout         { background-position: -213px 0; }
.adminicon.media-delete   { background-position: -147px 0; }
.adminicon.media-list     { background-position: -164px 0; }
.adminicon.media-new      { background-position: -130px 0; }
.adminicon.page-delete    { background-position: -97px 0;  }
.adminicon.page-edit      { background-position: -81px 0;  }
.adminicon.page-list      { background-position: -113px 0; }
.adminicon.page-new       { background-position: -65px 0;  }
.adminicon.post-delete    { background-position: -32px 0;  }
.adminicon.post-edit      { background-position: -16px 0;  }
.adminicon.post-list      { background-position: -48px 0;  }

.adminicon.sort {
  height: 5px;
  width: 7px;
}

.adminicon.sort.asc  { background-position: -230px 0; }
.adminicon.sort.desc { background-position: -230px -6px; }

/* -- Toolbar Login Form ---------------------------------------------------- */
#adminToolbar form {
  float: right;
  margin: 0;
}

#adminToolbar form div { display: inline; }

/* -- Toolbar Icons --------------------------------------------------------- */
.toolbar {
  background: #f5f5f5;
  border: 1px solid #dfdfdf;
  padding: 3px 4px 4px 4px;
}

.toolbar ul {
  float: left;
  margin: 0;
  padding: 0 6px;
}

.toolbar ul.edit { padding-left: 0; }
.toolbar ul.tools { border-left: 1px solid #dfdfdf; }

.toolbar ul:after {
  clear: left;
  content: '.';
  display: block;
  height: 0;
  visibility: hidden;
}

.toolbar ul li {
  float: left;
  list-style: none;
  margin-left: 1px;
}

.toolbar ul li:first-child { margin-left: 0; }

.toolbar a {
  border: 1px solid transparent;
  cursor: pointer;
  display: block;
  padding: 3px;
}

.toolbar a:hover {
  background: #dfebff;
  border: 1px solid #0A46AF;
}

.toolbar a img {
  border: 0;
  height: 16px;
  width: 16px;
}

@media print {
  .toolbar { display: none; }
}

/* -- Mini-Toolbar ---------------------------------------------------------- */
.toolbar.mini {
  background: none;
  border: 0;
  padding: 0;
}

/* -- Comment Mini-Toolbar -------------------------------------------------- */
.comment { position: relative; }

.comment .toolbar {
  position: absolute;
  right: -3px;
  top: 3px;
}

/* -- Misc. Forms ----------------------------------------------------------- */
fieldset.default {
  border: 0;
  padding: 0;
}

form div.field { margin-bottom: 1em; }
form div.field label {
  display: block;
  font-weight: bold;
}

form p.buttons { margin: 0.5em 0 1em; }

ol.suggested-tags {
  margin:  0.5em 0;
  padding: 0;
}

ol.suggested-tags li {
  float: left;
  list-style: none;
  margin-right: 0.3em;
}

ol.suggested-tags li:after { content: ', '; }
ol.suggested-tags li:last-child:after { content: ''; }
ol.suggested-tags li a { white-space: nowrap; }

#page-form,
#post-form { margin-bottom: 2em; }

#page-form #body,
#page-form #title,
#post-form #body,
#post-form #title,
#post-form #tags { width: 99%; }

#page-form #name,
#post-form #name { width: 15em; }

.tips {
  background: #eff7ff;
  border: 1px solid #afd4ff;
  margin-left: 0;
  padding: 0.8em;
  padding-left: 1.8em;
}

.tips li { margin-bottom: 0.5em; }

.tips kbd {
  background: #f7f1d8;
  border: 1px solid #efdb7f;
  font-size: 11px;
  padding: 0 3px 1px;
  white-space: nowrap;
}

/* -- Lists ----------------------------------------------------------------- */
table.list {
  border: 1px solid #dfdfdf;
  width: 100%;
}

table.list th,
table.list td { padding: 1px 2px; }

table.list thead th {
  font-weight: bold;
  text-align: left;
  white-space: nowrap;
}

table.list thead tr { background: #dfeeff; }
table.list tbody tr.empty { font-style: italic; }
table.list tbody tr.even { background: #f7fbff; }
table.list tbody tr.odd { background: none; }
table.list tbody tr:hover { background: #d0dbf7; }

table.list tbody td { border: 1px solid transparent; }
table.list tbody tr:hover td { border: 1px solid #9ab3f7; }

table.list td.created,
table.list td.updated,
table.pages td.name { white-space: nowrap; }

table.media td.size { text-align: right; }

/* -- Media ----------------------------------------------------------------- */
fieldset.replace { padding: 0.3em 1em; }

table.details th {
  font-weight: bold;
  padding-right: 4px;
  text-align: right;
}

table.details.media tr.filename td,
table.details.media tr.path td {
  font-family: Menlo, 'Bitstream Vera Sans Mono', Consolas, Monaco, 'Courier New', monospaced;
}

/* -- Welcome Page ---------------------------------------------------------- */
.welcome .version {
  color: #666;
  font-size: 12px;
  float: right;
}

.welcome dl.customizing { margin-left: 2ex; }
.welcome dl.customizing dt { font-weight: bold; }
.welcome dl.customizing dd { margin: 0 0 1em 0; }
